package com.paperyy.module.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.paperyy.module.bean.User;
import com.paperyy.module.dao.UserDao;
import com.paperyy.module.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;

    //id查询
    public User findUser(Integer id) {
        User user = userDao.selectById(id);
        return user;
    }


}
